ThinkPHP5


think\response\Jsonp
library\think\response\Jsonp.php at line 17

Class Jsonp

Response
└─Jsonp

public class Jsonp
extends Response


Method Summary
protected mixed

output(mixed data)

处理数据

Methods inherited from think\Response
__construct, cacheControl, code, content, contentType, create, data, eTag, expires, getCode, getContent, getData, getHeader, header, lastModified, options, output, send

Method Detail

library\think\response\Jsonp.php at line 31

output

protected mixed output(mixed data)

处理数据

Parameters:
data - 要处理的数据
Throws:
\Exception

ThinkPHP5